package common.Enums;

public enum ReliabilityType 
{
	GUESS,
	DERIVED,
	FACT,
	ACCURATE_ESTIMATE,
	ROUGH_ESTIMATE;
	
	public static String[] toStringArray()
	{
		int enumLenght = values().length;
		String[] reliabilityTypes = new String[enumLenght];
		
		for(int i = 0 ; i < enumLenght ; i++)
			reliabilityTypes[i] = values()[i].toString();
		
		return reliabilityTypes;
	}
	
	public static String concatIntoString()
	{
		String reliabilityTypes = "";
		
		for(int i = 0 ; i < values().length ; i++)
			reliabilityTypes += values()[i].toString() + ", ";
		
		reliabilityTypes = reliabilityTypes.substring(0, reliabilityTypes.length()-2);
		
		return reliabilityTypes;
	}
}
